package designMode.strategyPatter;

/**
 * 陆离
 * 2023/11/6 10:38:42
 */
public class UnionPay extends Payment {
    @Override
    public String getName() {
        return "银联支付";
    }

    @Override
    protected double queryBalance(String uid) {
        return 120;
    }
}
